Fix bug #9392 with rmail-forward.
authorEli Zaretskii <eliz@gnu.org>
Fri, 9 Sep 2011 08:59:51 +0000 (11:59 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 9 Sep 2011 08:59:51 +0000 (11:59 +0300)
commit987c82e77ad91d5cec3099f33ff4b4ab8999e2f8
tree6398c91f06793fdd345587e4a2bb8a7f71ea56cf
parent1ea2d0890e293d8d2959967d77854bd76ce48e7a
parent0f5aa26dd3e6c4130ab3c2fce1e047eeda27f358
Fix bug #9392 with rmail-forward.

 lisp/simple.el (mail-encode-mml): New defvar.
 lisp/mail/rmail.el (mail-encode-mml): Add a defvar.
 (rmail-enable-mime-composing): Default to t.
 (rmail-forward): Use MIME method of forwarding only if both
 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
 Set mail-encode-mml non-nil if the MIME method was used.
 lisp/mail/sendmail.el (mml-to-mime): Add autoload form.
 (mail-encode-mml): Add a defvar.
 (mail-mode): Make mail-encode-mml buffer-local and initialize it
 to nil.
 (mail-send): If mail-encode-mml is non-nil, run the outgoing
 message through mml-to-mime, and reset mail-encode-mml to nil.
lisp/ChangeLog
lisp/mail/rmail.el
lisp/mail/sendmail.el
lisp/simple.el